import java.util.Scanner;

public class nezha {
   public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        // 获取用户输入的金额和年利率
        System.out.print("请输入购买金额：");
        double amount = scanner.nextDouble();
        System.out.print("请输入年利率（百分比）：");
        double annualInterestRate = scanner.nextDouble() / 100;
        // 计算一年后的本息
        double interest = amount * annualInterestRate;
        double totalAmount = amount + interest;
        // 输出结果
        System.out.println("通天河一年后，投资赎回时获得的本息为：" + totalAmount + " 人民币");

        scanner.close();
    
    }
}